<?php
if ($check->isAdmin())
{
	session_unset(isset($_SESSION['session']));
	header("Location: ?page=login");
	exit;
}
?>